package cn.com.aiton.common.model.greenwave;

import cn.com.aiton.common.model.NodeDomain;

import java.util.List;

public class GreenWaveNodesDomain extends GreenWaveDomain {
    private NodeDomain nodeDomain;
    private Integer sequence;

    public GreenWaveNodesDomain() {
    }

    public GreenWaveNodesDomain(NodeDomain nodeDomain, Integer sequence) {
        this.nodeDomain = nodeDomain;
        this.sequence = sequence;
    }

    @Override
    public String toString() {
        return "GreenWaveNodesDomain{" +
                "nodeDomain=" + nodeDomain +
                ", sequence=" + sequence +
                '}';
    }

    public NodeDomain getNodeDomain() {
        return nodeDomain;
    }

    public void setNodeDomain(NodeDomain nodeDomain) {
        this.nodeDomain = nodeDomain;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }
}
